package com.xebest.web.view;

import com.xebest.util.DateUtil;

import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;

/**
 * @desc: pos刷卡记录
 * @author: chenjing
 * @createTime: 2017/8/30 14:25
 * @history:
 * @version:v1.0
 */
public class XeVenOrderCreditCardRecordsView implements Serializable {

    private static final long serialVersionUID = 1L;

    private String orderId;
    private String posBusNum;
    private String terminals;
    private String payTime;
    private String payType;
    private BigDecimal payAmount;
    private String payNumber;
    private String orderStatus;
    private String userCode;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPosBusNum() {
        return posBusNum;
    }

    public void setPosBusNum(String posBusNum) {
        this.posBusNum = posBusNum;
    }

    public String getTerminals() {
        return terminals;
    }

    public void setTerminals(String terminals) {
        this.terminals = terminals;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(DateUtil.toDate(payTime));
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getPayNumber() {
        return payNumber;
    }

    public void setPayNumber(String payNumber) {
        this.payNumber = payNumber;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
}
